﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace goAlarmsCS
{
    public class AlarmEventArgs : EventArgs
    {

        /// <summary>
        /// Initializes a new instance of the AlarmEventArgs class.
        /// </summary>
        /// <param name="alarm"></param>
        public AlarmEventArgs(Alarm alarm)
        {
            _alarm = alarm;
        }
        private AlarmEventArgs()
        {
            //use public ctor
        }
         
        private Alarm _alarm;
        public Alarm Alarm
        {
            get
            {
                return _alarm;
            }
        }

    }
}
